package com.hgyc.mom.eam.vo;

import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;

/**
 * <p>
 * 设备点检保养计划查询类
 * </p>
 *
 * @author fwj
 * @since 2025-08-13
 */
@Data
@Schema(name="设备点检保养计划查询对象", description="设备点检保养计划查询对象")
public class EamCheckMaintainPlanParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "计划名称")
    private String planName;

    @Schema(description = "计划类型")
    private String planType;

    @Schema(description = "开始日期")
    private LocalDate startDate;

    @Schema(description = "结束日期")
    private LocalDate endDate;

    @Schema(description = "频率")
    private Integer cycleType;

    @Schema(description = "周期类型")
    private String periodType;

    @Schema(description = "状态")
    private String status;


    /**
     * 页码
     */
    @Schema(description = "页码，默认1", example = "1")
    @Min(value = 1, message = "页码最小为1")
    private Integer page;

    /**
     * 页面大小
     */
    @Schema(description = "每页数量，默认10", example = "10")
    @Min(value = 1, message = "每页数量最小为1")
    @Max(value = 100, message = "每页数量最大为100")
    private Integer pageSize;
}
